
weightStr = (input("请输入小朋友们的体重,以逗号隔开："))

weightList = []

# 转换为列表
for value in weightStr.split(','):
    weightList.append(float(value))

# 计算平均体重
average = sum(weightList)/len(weightList)

# 输出比平均体重更重的那些体重
for weight in weightList:
    if weight > average:
        print(weight)








